<?php
/**
 * 用户
 * @author Administrator
 *
 */
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Activity extends Model
{
	protected $table = 'activity';

    protected function getDateFormat()
    {
        return 'U';
    }


    public function ActivityType(){
        return $this->belongsTo('App\Models\ActivityType','type','code');
    }

}
